const baseURL = 'http://zwb520131.com/'
const url = window.location.href.replace('http://', '');



$.ajax({
  type: "get",
  url: baseURL + 'goal_param/base',
  data: {
    url
  },
  async: false,
  success: function (res) {
    const {
      hash,
      project_category,
      project_name,
      stat_js_code,
      version_num,
      e
    } = res.data.goal_view;
    window.hash = hash;
    window.project_category = project_category;
    window.project_name = project_name;
    window.stat_js_code = stat_js_code;
    window.version_num = version_num;
    window.e = e;
  }
})